export default function (timestamp) {
  const date = new Date()
  const nowTimestamp = date.getTime()
  return nowTimestamp - timestamp
}